﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ArticleReport.aspx.cs" Inherits="ArticleReport" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <link type="text/css" href="css/style.css" rel="stylesheet" />
    <link type="text/css" href="css/jquery-ui.css" rel="stylesheet" />
    <script type="text/javascript" src="js/jquery.js"></script>
    <script type="text/javascript" src="js/jquery-ui.js"></script>
    <script type="text/javascript" src="js/lib.js"></script>
    <script type="text/javascript">
        $(function () {
            BindBtn();
            AddTrClass($("#listinfo"));
            $("#txtBeginDateTime").datepicker({ changeMonth: true, changeYear: true, dateFormat: "yy-mm-dd" });
            $("#txtEndDateTime").datepicker({ changeMonth: true, changeYear: true, dateFormat: "yy-mm-dd" });
        })
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="conBox">
        <table class="form-table">
            <thead>
                <tr>
                    <td colspan="3">
                        查询选项
                    </td>
                </tr>
            </thead>
            <tbody>
                <tr class="tr1">
                    <td class="oneTd">
                        <div>
                            选择日期：从<asp:TextBox ID="txtBeginDateTime" runat="server" CssClass="txtbox" Style="width: 100px"></asp:TextBox>到<asp:TextBox ID="txtEndDateTime" runat="server" CssClass="txtbox" Style="width: 100px"></asp:TextBox>
                            <asp:Button ID="btnSubmit" runat="server" Text="查询" OnClick="btnSubmit_Click" CssClass="button" /></div>
                    </td>
                </tr>
            </tbody>
        </table>
        <div class="grid-box">
            <table class="grid-table">
                <thead>
                    <tr>
                        <th class="align-l">
                            用户名
                        </th>
                        <td class="align-l">
                            姓名
                        </td>
                         <td class="align-l">
                            新闻源提成(元)
                        </td>
                         <td class="align-l">
                            外链提成(元)
                        </td>
                         <td class="align-l">
                            站内提成(元)
                        </td>
                        <td class="align-l">
                            总提成(元)
                        </td>
                    </tr>
                </thead>
                <tbody id="listinfo">
                    <asp:Repeater ID="rptUser" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%#Server.HtmlEncode(Eval("UserName").ToString())%>
                                </td>
                                <td>
                                    <%#Server.HtmlEncode(Eval("Name").ToString())%>
                                </td>
                                <td>
                                    <%#Convert.ToDouble(Eval("NewsMomey")).ToString("0.##")%>
                                </td>
                                <td>
                                    <%#Convert.ToDouble(Eval("LinkMomey")).ToString("0.##")%>
                                </td>
                                <td>
                                    <%#Convert.ToDouble(Eval("OurWebMomey")).ToString("0.##")%>
                                </td>
                                <td>
                                    <%#Convert.ToDouble(Eval("AllMomey")).ToString("0.##")%>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </tbody>
            </table>
            <div id="noData" runat="server">
                <div class="noDateMsg">
                    没有任何信息！</div>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
